Skip to content

chore: revive against current comline-core - #1

Merged
Kinflou merged 1 commit into
masterfrom
chore/revive-against-current-core
Sep 2, 2026
Merged

chore: revive against current comline-core#1
Kinflou merged 1 commit into
masterfrom
chore/revive-against-current-core

Conversation

@Kinflou

@Kinflou Kinflou commented Sep 2, 2026

Copy link
Copy Markdown
Member

The language server hadn't been built since the core grammar / IR drifted. It now compiles and all tests pass (39 unit + 2 e2e + 4 integration).

  • AST declarations are Spanned<Declaration> now — deref before matching (match &**decl) in symbols / hover / references.
  • Declaration gained Error / Settings / Validator — handled (not surfaced in the outline yet).
  • grammar Type::I8..I64S8..S64; format_type gains the Union and Unit arms.
  • comline-core pinned by git rev (core 50c17cc) instead of a sibling path, so it builds standalone — a commented [patch] covers local dev.
  • a CI workflow (cargo build + cargo test), matching the other repos.
  • trimmed dead imports; license = "GPL-3.0-only".

Next toward the manual-test loop: wire the still-unused handlers (code_actions, signature_help, workspace symbols) into backend.rs, and a fresh editor smoke test.

The LSP hadn't been built since the core grammar / IR drifted; it now
compiles and all tests pass (39 + 2 e2e + 4 integration).

  - AST declarations are `Spanned<Declaration>` now — deref before
    matching (`match &**decl`) in symbols / hover / references.
  - `Declaration` gained `Error` / `Settings` / `Validator` — handled
    (not surfaced in the outline yet).
  - grammar `Type::I8..I64` -> `S8..S64` (signed prefix); `format_type`
    gains the `Union` and `Unit` arms the grammar added.
  - `comline-core` by git rev (core 50c17cc), like every other repo, so
    it builds standalone; a commented `[patch]` for sibling-checkout dev.
  - a CI workflow (cargo build + test), matching the other repos.
  - trimmed dead imports; `license = "GPL-3.0-only"`.
@Kinflou
Kinflou merged commit 45c7a9e into master Sep 2, 2026
2 checks passed
@Kinflou
Kinflou deleted the chore/revive-against-current-core branch September 2, 2026 09:31
@Kinflou
Kinflou restored the chore/revive-against-current-core branch September 2, 2026 09:31
@Kinflou
Kinflou deleted the chore/revive-against-current-core branch September 2, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant